package cn.kimming.rpc.demo.ui.service;

import cn.kimming.rpc.common.constant.LoadBalance;
import cn.kimming.rpc.demo.ui.dto.ServiceCallDTO;
import cn.kimming.rpc.demo.ui.vo.AutoTestVO;
import cn.kimming.rpc.demo.ui.vo.LbServiceVO;
import cn.kimming.rpc.demo.ui.vo.ServiceVO;
import cn.kimming.rpc.demo.ui.vo.TreeDataVO;

import java.util.List;

public interface UiService {
    List<ServiceVO> listAllServiceVO();

    TreeDataVO getRegistryTreeData();

    Object getNodeInfo(String path);

    long testConsuming(ServiceCallDTO dto);

    List<LbServiceVO> getLbServices();

    String testLbService(LoadBalance loadBalance);

    List<AutoTestVO> autoTest();
}
